package com.geologyoa.persist;

import java.util.List;

import net.sf.json.JSONObject;

import com.geologyoa.domain.Cjdw01;
import com.geologyoa.domain.Xmfj01;
import com.geologyoa.domain.Xmqk01;
import com.geologyoa.domain.Xmqk01New;
import com.geologyoa.domain.ZHD01;
import com.geologyoa.domain.Zjpf01;
import com.geologyoa.domain.xmqkQueryObj;

public interface Xmqk01Dao {
	public abstract Boolean AddXmqk(Xmqk01 xmqk01);
	public abstract Boolean AddXmqk(Xmqk01New xmqk01,List<Zjpf01> zjpfList,List<Cjdw01> cjdwList,List<ZHD01> zhdList);
	 public abstract Boolean DelXmqk(String xmqk01001);
	 public abstract Boolean UpdateXmqk(Xmqk01 xmqk01);
	 public abstract Boolean checkXmqkInfo(String xmName);
	 public abstract Boolean checkXmqkInfoExceptId(String xmName,int xmId);
	 public abstract List<Xmqk01> SerachXmqk01(String xmqk01003,String xmqk01005,String xmqk01006,String minfy,String maxfy,String minjgtime,String maxjgtime,String xmqk01009);
	 public abstract List<Xmfj01> SearchXmfj(String xmName,String  fjName,String wdType,String wdsubType);
	 public abstract Boolean updateXmfj(String xmfj0101, String xmfj0106, String type);
	 public abstract String SearchXmqk01(xmqkQueryObj xmqk);
	 public abstract String SearchXmqkDetailsById(String id);
	 public abstract boolean deleteCjdwById(String id);
	 public abstract boolean deleteZjpfById(String id);
	 public abstract boolean deleteZhdById(String id);
	 
	 public abstract boolean updateXmqk01ForOneToMany(Xmqk01New xmqk01,List<Zjpf01> zjpfList,List<Cjdw01> cjdwList,List<ZHD01> zhdList);
	 public abstract String statXmqk01(xmqkQueryObj obj);
}
